package org.komarichin.jpa.entity;

/**
 * User: Michael Komarichin
 * Date: 28.09.2009
 * Time: 12:57:24
 */
public interface IRole extends IGoogleEntity {
//    /**
//     * @return id of role
//     */
//    Long getId();
//
//    /**
//     * @param id new id for role
//     */
//    void setId(Long id);

    /**
     * @return role name
     */
    String getName();

    /**
     * @param name new role name
     */
    void setName(String name);

    /**
     * @return role permission, max permission = 0 and min permission Long.MAX_VALUE
     */
    Long getPermission();

    /**
     * @param permission new role permission
     */
    void setPermission(Long permission);
}
